// 本js为自定义
import { BasicLayout, BlankLayout, RouteView, PageView } from '@/layouts'

// 前端路由映射表
const constantRouterComponents = {
  // 基础页面 layout 必须引入
  BasicLayout: BasicLayout,
  BlankLayout: BlankLayout,
  RouteView: RouteView,
  PageView: PageView,

  // 你需要动态引入的页面组件
  index: () => import('@/views/HomeIndex'),
  // 系统管理
  deptPage: () => import('@/views/system/DepartmentPage'),
  userPage: () => import('@/views/system/UserPage'),
  rolePage: () => import('@/views/system/RolePage'),
  permissionPage: () => import('@/views/system/PermissionPage')
}

export default constantRouterComponents
